<?php
class Namemanager_Model_Accessleveldecision implements Namemanager_Model_Mainable{
    
    public function main(array $variables = null) {
        if(!isset($_SESSION['username']) || !isset($_SESSION['access_level']) || ($_SESSION['access_level'] < 1)){
            session_destroy();
            header("Location: ".SITE_ROOT."login,html");
        }
    }
}
